/**
 * Created by vicket on 2017/4/23.
 */
$(function(){
    var finishList=$(".finish_list");
    var noveltype=window.location.hash.slice(1);
    console.log(noveltype);
    $.ajax({
        type:"get",
        url:"/api/frontGetClassify",
        data:{type:noveltype},
        success:function(result){
            var html=template("novellist",{items:result});
            console.log(html);
            finishList.html(html);
        }
    })
})